const express = require('express');
const router = express.Router();
const handler = require('../route-handlers/product.js');
const schema = require('../schema/product.js');

router.get('/', schema.findSchema, handler.getProducts);
router.get('/static', handler.getProductsStatic);

module.exports = router;
